<template>
  <div id="app">
    <keep-alive include="home">
      <router-view></router-view>
    </keep-alive>
    <AppHeader></AppHeader>
  </div>
</template>

<style lang="scss">
  /*swiper插件提供的class*/
 .swiper-pagination-bullet-active{
        background: #fff2f2 !important;
    }
</style>

<script>
import AppHeader from "@/components/Header"
export default {
  components:{
    AppHeader
  },
  created(){
    //初始化cars
    this.$store.dispatch("initCar")
  }
}
</script>

